Open
Conversation
ESJung95
reviewed
Aug 11, 2024
Owner
ESJung95
left a comment
There was a problem hiding this comment.
Google OAuth는 처음봐서 신기하군요ㅋㅋㅋ 시간될 때 설명도 부탁드릴게요!
ESJung95
reviewed
Aug 11, 2024
| runtimeOnly 'io.jsonwebtoken:jjwt-jackson:0.11.5' | ||
|
|
||
| // OAuth2 | ||
| implementation 'org.springframework.boot:spring-boot-starter-oauth2-client' |
ESJung95
reviewed
Aug 11, 2024
| .name(oAuth2User.getAttribute("name")) | ||
| .email(oAuth2User.getAttribute("email")) | ||
| .password(keyGenerator.generateKey()) | ||
| .phoneNumber("undefinedNumber") |
Owner
There was a problem hiding this comment.
일단 이렇게 생성해서 DB 저장시킨거죠..? 따로 핸드폰번호까지 리다이렉트해서 받아오는 로직은 아직 없는거 맞나요?ㅜㅜ
Collaborator
Author
There was a problem hiding this comment.
네 일단 저렇게 회원 엔티티 만들어지게 했습니다
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
변경사항
AS-IS
TO-BE
GoogleOAuth2Service에서 처리하며 CandidateEntity 는 다음과 같은 특별한 key 를 가짐SecurityConfig에 다음과 같은 설정을 추가함/common/job-positngs로 리디렉션 하고 JWT 토큰 값을 전달함.